﻿
namespace ThingsGateway.Application.Core;
[NotTable]
public class DeviceVariableInput : BaseIdInput
{

}
[NotTable]
public class DeviceVariableExportInput
{
    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 设备名称
    /// </summary>
    public string DeviceName { get; set; }
}
[NotTable]
public class DeviceVariableConfigInput : BaseIdInput
{
    /// <summary>
    /// 启用
    /// </summary>
    public bool InvokeEnable { get; set; }
}
/// <summary>
/// 分页输入的搜索参数
/// </summary>
[NotTable]
public class PageDeviceVariableInput : BasePageInput
{
    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 设备名称
    /// </summary>
    public string DeviceName { get; set; }
}

[NotTable]
public class AddDeviceVariableInput : DeviceVariable
{

}

[NotTable]
public class UpdateDeviceVariableInput : AddDeviceVariableInput
{
}
[NotTable]
public class DeleteDeviceVariableInput : BaseIdInput
{
}


[NotTable]
public class WriteDeviceVariableInput 
{
    public string DeviceName { get; set;}
    public string Name { get; set;}
    public string WriteValue { get; set;}
}
